{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>adm_infoAlter</title>
    <link rel="stylesheet" href="{% static 'css/infoAlter.css' %}">
</head>
<body>
<body background="{% static 'img/wallpaper.jpg' %}" style="background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
    <form action="" enctype='multipart/form-data' method="post">
        {% csrf_token %}
        <div>
            <h1>修改信息——管理员：{{ admdd.adm_id }}</h1>
            <p>手机号：<input type="text" name="phone" placeholder="手机号" required></p>
            <p><input type="submit" name="action" value="获取验证码"></p>
            <p>验证码：<input type="text" name="code" placeholder="验证码"></p>
            <p>姓名：<input type="text" name="name" placeholder="姓名"></p>
            <p><input type="submit" name="action" value="提交"></p>
            <a href="/adm_info">返回</a>
            <p style="color: red">
            {% if err %}
                {{ err }}
            {% endif %}
            </p>
        </div>
    </form>

</body>
</html>